rat=input ("Ввод:")
RAT=rat.split()
number=' '
for i in RAT:
        if i=='one':
                number+='1'
        if i=='zero':
                number+='0'
        if i=='two':
                number+='2'
        if i=='three':
                number+='3'
        if i=='four':
                number+='4'
        if i=='five':
                number+='5'
        if i=='six':
                number+='6'
        if i=='seven':
                number+='7'
        if i=='eight':
                number+='8'
        if i=='nine':
                number+='9'
sss=len (number)
ddd=len (RAT)
if sss-1<ddd:
    print ("Wrong input")
if sss-1==ddd:
    print (number)

